//
//  ChatCell.m
//  SeaChat
//
//  Created by 刘汉 on 16/6/18.
//  Copyright © 2016年 潘强. All rights reserved.
//

#import "ChatCell.h"

@implementation ChatCell

- (void)awakeFromNib {
    // Initialization code

    self.MessageLabel.numberOfLines = 0;
}

-(CGFloat)CellHeight{
    [self layoutIfNeeded];
    return self.MessageLabel.bounds.size.height + 50;

};

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)dealloc {
   // [_MessageLabel release];
    [super dealloc];
}
@end
